home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / include / Xm / DesktopP.h.z / DesktopP.h
Encoding:
C/C++ Source or Header  |  2003-11-18  |  3.3 KB  |  117 lines

  1. /*
  2.  * DesktopP.h
  3.  *
  4.  * Copyright 2000, Silicon Graphics, Inc.
  5.  * ALL RIGHTS RESERVED
  6.  * 
  7.  * UNPUBLISHED -- Rights reserved under the copyright laws of the United
  8.  * States.   Use of a copyright notice is precautionary only and does not
  9.  * imply publication or disclosure.
  10.  *
  11.  * U.S. GOVERNMENT RESTRICTED RIGHTS LEGEND:
  12.  * Use, duplication or disclosure by the Government is subject to restrictions
  13.  * as set forth in FAR 52.227.19(c)(2) or subparagraph (c)(1)(ii) of the Rights
  14.  * in Technical Data and Computer Software clause at DFARS 252.227-7013 and/or
  15.  * in similar or successor clauses in the FAR, or the DOD or NASA FAR
  16.  * Supplement.  Contractor/manufacturer is Silicon Graphics, Inc.,
  17.  * 2011 N. Shoreline Blvd. Mountain View, CA 94039-7311.
  18.  *
  19.  * THE CONTENT OF THIS WORK CONTAINS CONFIDENTIAL AND PROPRIETARY
  20.  * INFORMATION OF SILICON GRAPHICS, INC. ANY DUPLICATION, MODIFICATION,
  21.  * DISTRIBUTION, OR DISCLOSURE IN ANY FORM, IN WHOLE, OR IN PART, IS STRICTLY
  22.  * PROHIBITED WITHOUT THE PRIOR EXPRESS WRITTEN PERMISSION OF SILICON
  23.  * GRAPHICS, INC.
  24.  */
  25. /* 
  26.  * @OSF_COPYRIGHT@
  27.  * (c) Copyright 1990, 1991, 1992, 1993, 1994 OPEN SOFTWARE FOUNDATION, INC.
  28.  * ALL RIGHTS RESERVED
  29.  *  
  30. */ 
  31. /*
  32.  * HISTORY
  33.  * Motif Release 1.2.5
  34. */
  35. /*   $XConsortium: DesktopP.h /main/cde1_maint/2 1995/08/18 18:55:29 drk $ */
  36. /*
  37. *  (c) Copyright 1989, 1990  DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
  38. /*
  39. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  40. /*
  41. *  (c) Copyright 1988 MASSACHUSETTS INSTITUTE OF TECHNOLOGY  */
  42. /*
  43. *  (c) Copyright 1988 MICROSOFT CORPORATION */
  44. #ifndef  _XmDesktopP_h
  45. #define _XmDesktopP_h
  46.  
  47. #include <Xm/ExtObjectP.h>
  48.  
  49. #ifdef __cplusplus
  50. extern "C" {
  51. #endif
  52.  
  53.  
  54. #ifndef XmIsDesktopObject
  55. #define XmIsDesktopObject(w)    XtIsSubclass(w, xmDesktopClass)
  56. #endif /* XmIsDesktopObject */
  57.  
  58. typedef struct _XmDesktopRec *XmDesktopObject;
  59. typedef struct _XmDesktopClassRec *XmDesktopObjectClass;
  60. externalref WidgetClass xmDesktopClass;
  61.  
  62.  
  63. typedef struct _XmDesktopClassPart{
  64.     WidgetClass        child_class;
  65.     XtWidgetProc    insert_child;      /* physically add child to parent  */
  66.     XtWidgetProc          delete_child;      /* physically remove child         */
  67.     XtPointer        extension;
  68. }XmDesktopClassPart, *XmDesktopClassPartPtr;
  69.  
  70. typedef struct _XmDesktopClassRec{
  71.     ObjectClassPart        object_class;
  72.     XmExtClassPart        ext_class;
  73.     XmDesktopClassPart         desktop_class;
  74. }XmDesktopClassRec;
  75.  
  76. typedef struct {
  77.     Widget        parent;
  78.     Widget        *children;
  79.     Cardinal        num_children;
  80.     Cardinal        num_slots;
  81. } XmDesktopPart, *XmDesktopPartPtr;
  82.  
  83. externalref XmDesktopClassRec     xmDesktopClassRec;
  84.  
  85. typedef struct _XmDesktopRec{
  86.     ObjectPart            object;
  87.     XmExtPart            ext;
  88.     XmDesktopPart        desktop;
  89. }XmDesktopRec;
  90.  
  91.  
  92. /********    Private Function Declarations    ********/
  93. #ifdef _NO_PROTO
  94.  
  95. extern WidgetClass _XmGetActualClass() ;
  96. extern void _XmSetActualClass() ;
  97.  
  98. #else
  99.  
  100. extern WidgetClass _XmGetActualClass( 
  101.                         Display *display,
  102.                         WidgetClass w_class) ;
  103. extern void _XmSetActualClass( 
  104.                         Display *display,
  105.                         WidgetClass w_class,
  106.                         WidgetClass actualClass) ;
  107.  
  108. #endif /* _NO_PROTO */
  109. /********    End Private Function Declarations    ********/
  110.  
  111.  
  112. #ifdef __cplusplus
  113. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  114. #endif
  115.  
  116. #endif  /* _XmDesktopP_h */
  117.